import request from '@/utils/request';

export function listData(query) {
  return request({
    url: `/connection/gradeList${query}`,
    method: 'get',
  });
}

export function detailData() {
  return request({
    url: `/connection/gradeDetail`,
    method: 'get',
  });
}

export function addData(form) {
  return request({
    url: `/connection/gradeSave`,
    method: 'post',
    data:form
  });
}
export function deleteData(form) {
  return request({
    url: `/connection/gradeDelete`,
    method: 'post',
    data:form
  });
}